package com.it135.citytraffic.pojo.dto;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class TrafficInfoPageQueryDTO {

    private  String name;
    private  String description;
    private  Integer status;
    private  String blocked;
    //分页
    private  Integer page;
    private  Integer pageSize;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime beginTime;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private  LocalDateTime endTime;
}
